package util;

public class DangerousException extends RuntimeException {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	
	public DangerousException() {
	}
	
	public DangerousException(String name, int id) {
		super("Can't step, danger occured: " + name);
		this.name = name;
		this.id = id;
	}
	
	public int getId() {
		return id;
	}
	
	public String getName() {
		return name;
	}
}
